package com.fpx.open.platform.common.constant;

/**
 * controller URI常量
 * 
 * @author sunkey
 * @date Mar 15, 2013 6:04:35 PM
 * @version 1.0.0
 * @copyright fpx.com
 */
public class URIConstant {

    /** 用户 */
    public static final String USER = "/api/user";

    /** Token /user/token */
    public static final String USER_TOKEN = "/token";

    public static final String SERVICE = "/api/service";
    
    public static final String USER_MANAGER = SERVICE+"/userManager";

    public static final String USER_MANAGER_CREATE = "/create";

    public static final String USER_MANAGER_AUTHORIZE = "/authorize";

    public static final String USER_MANAGER_DELETE = "/delete";

    public static final String USER_MANAGER_CREATE_AUTHORIZE = "/createAndAuthorize";
    
    public static final String SERVICE_AE_ORDER = "/ae/old";
    
    public static final String SERVICE_AE_ORDER_NEW = "/ae/";
    
    public static final String SERVICE_AE_ORDER_RECEIVE = "/receive";
    
    public static final String SERVICE_AE_ORDER_CANCEL = "/cancel";
    
    public static final String SERVICE_AE_ORDER_QUERY = "/query";
    
    public static final String SERVICE_ORDER_LABEL = "label";

    /**
     * 测试用
     */
    public static final String SERVICE_CONFIG = SERVICE + "/config";

    public static final String SERVICE_CUSTOMER = SERVICE + "/customer";

    public static final String SERVICE_CUSTOMER_QUERY_APPS = "/queryApplicatons";

    public static final String SERVICE_CUSTOMER_AUTHORIZE = "/authorize";

    public static final String SERVICE_CUSTOMER_CANCELAUTHORIZE = "/cancelAuthorize";

    /**
     * 账号管理
     */
    public static final String SERVICE_ACCOUNT = SERVICE + "/account";
    // 账户充值
    public static final String SERVICE_ACCOUNT_RECHARGE = "/accountRecharge";
    // 查询账号余额
    public static final String SERVICE_ACCOUNT_CHECKBALANCES = "/checkBalances";
    // 注册账号
    public static final String SERVICE_ACCOUNT_REGISTER = "/accountRegister";
    // 检查用户名是否可用
    public static final String SERVICE_ACCOUNT_CHECK = "/accountCheck";
    // 查询账号状态
    public static final String SERVICE_ACCOUNT_FINDSTATUS = "/findAccountStatus";
    /**
     * 订单管理
     */
    public static final String SERVICE_ORDER = SERVICE + "/order";
    // 在线订单操作管理类
    public static final String SERVICE_ORDERONLINE = SERVICE + "/orderonline";
    // 查询订单变动信息
    public static final String SERVICE_ORDER_FIND = "/findOrderChange";
    // 创建订单
    public static final String SERVICE_ORDER_CREATE = "/createOrder";
    // 预报订单
    public static final String SERVICE_ORDER_PREALERT = "/preAlertOrder";
    // 创建并预报订单
    public static final String SERVICE_ORDER_CREATEANDPREALERT = "/createAndPreAlertOrder";
    // 修改订单
    public static final String SERVICE_ORDER_MODIFY = "/modifyOrder";
    // 删除订单
    public static final String SERVICE_ORDER_REMOVE = "/removeOrder";
    // 查询订单
    public static final String SERVICE_ORDER_FINDORDER = "/findOrder";
    // 查询跟踪号码
    public static final String SERVICE_ORDER_FINDTRACKINGNUMBER = "/findTrackingNumber";
    // 申请拦截
    public static final String SERVICE_ORDER_HOLD = "/cargoHold";
    // 查询标签信息
    public static final String SERVICE_ORDER_FINDLABEL = "/findLabelInfo";
    // 创建订单(对外提供)
    public static final String SERVICE_ORDER_CREATEORDER = "/createOrderService";
    /**
     * 公司管理
     */
    public static final String SERVICE_COMPANY = SERVICE + "/company";
    // 查询分拨点
    public static final String SERVICE_COMPANY_FINDPOINTS = "/findCompanyPoints";
    // 查询客户支持人员信息
    public static final String SERVICE_COMPANY_FINDSUPPORTER = "/findShipperSupporter";

    /************************************ 国内仓 **********************************************/
    // 国内仓基础信息类
    /**
     * 访问路径前缀
     */
    public static final String SERVICE_WMCBASIC = SERVICE + "/wmc/basic";
    /**
     * 查询仓库信息
     */
    public static final String SERVICE_WMCBASIC_SEARCHWAREHOUSEINFO = "/searchWarehouseInfo";
    /**
     * 查询商品信息
     */
    public static final String SERVICE_WMCBASIC_SEARCHPRODUCTMASTER = "/searchProductMaster";
    /**
     * 新增商品信息
     */
    public static final String SERVICE_WMCBASIC_ADDPRODUCTMASTER = "/addProductMaster";
    /**
     * 修改商品信息
     */
    public static final String SERVICE_WMCBASIC_MODIFYPRODUCTMASTER = "/modifyProductMaster";
    /**
     * 商品启用
     */
    public static final String SERVICE_WMCBASIC_STARTPRODUCTMASTER = "/startProductMaster";
    /**
     * 商品停用
     */
    public static final String SERVICE_WMCBASIC_STOPPRODUCTMASTER = "/stopProductMaster";
    /**
     * 查询商品类型信息
     */
    public static final String SERVICE_WMCBASIC_SEARCHPRODUCTCATEGORY = "/searchProductCategory";

    /**
     * 查询计量单位信息
     */
    public static final String SERVICE_WMCBASIC_SEARCHUNIT = "/searchUnit";

    // 国内仓订单处理类
    /**
     * 访问路径前缀
     */
    public static final String SERVICE_WMCORDER = SERVICE + "/wmc/order";
    /**
     * 订单查询
     */
    public static final String SERVICE_WMCORDER_SEARCHSMSALERORDER = "/searchSmSalerOrder";
    /**
     * 新增订单
     */
    public static final String SERVICE_WMCORDER_ADDSMSALERORDER = "/addSmSalerOrder";
    /**
     * 作废订单
     */
    public static final String SERVICE_WMCORDER_DEPOSESMSALERORDER = "/deposeSmSalerOrder";

    // 国内仓入库单处理类
    /**
     * 访问路径前缀
     */
    public static final String SERVICE_WMCCOCONSIGNORDER = SERVICE + "/wmc/coConsignOrder";
    /**
     * 入库单查询
     */
    public static final String SERVICE_WMCOCONSIGNCORDER_SEARCHCOCONSIGNORDER = "/searchCoConsignOrder";
    /**
     * 新增入库单
     */
    public static final String SERVICE_WMCCOCONSIGNORDER_ADDCOCONSIGNORDER = "/addCoConsignOrder";
    /**
     * 作废入库单
     */
    public static final String SERVICE_WMCCOCONSIGNORDER_DEPOSECOCONSIGNORDER = "/deposeCoConsignOrder";

    // 国内仓退货单处理类
    /**
     * 访问路径前缀
     */
    public static final String SERVICE_WMCRETURNGOODS = SERVICE + "/wmc/returnGoods";
    /**
     * 退货单查询
     */
    public static final String SERVICE_WMCRETURNGOODS_SEARCHRETURNGOODS = "/searchReturnGoods";
    /**
     * 新增退货单
     */
    public static final String SERVICE_WMCRETURNGOODS_ADDRETURNGOODS = "/addReturnGoods";
    /**
     * 作废退货单
     */
    public static final String SERVICE_WMCRETURNGOODS_DEPOSERETURNGOODS = "/deposeReturnGoods";

    /*------------------------------------ 订单宝API常量  --------------------------------------------*/

    /**
     * 费用管理
     */
    public static final String SERVICE_CHARGE = SERVICE + "/charge";
    // 运费试算
    public static final String SERVICE_CHARGE_CALCULATE = "/chargeCalculate";
    /**
     * 轨迹管理
     */
    public static final String SERVICE_TRACK = SERVICE + "/track";
    // 查询轨迹
    public static final String SERVICE_TRACK_FIND = "/findTracking";

    /*------------------------------------ 订单宝API常量   start--------------------------------------------*/

    /**
     * 所有的WOMS-API Controller类名称必须加上此前缀，防止与其他控制器名称冲突
     */
    public static final String WOMS_CONTROLLER_PREFIX = "WOMS.";

    /**
     * 订单宝API服务
     */
    public static final String WOMS_SERVICE = SERVICE + "/woms";

    /**
     * 订单管理
     */
    public static final String WOMS_SERVICE_ORDER = WOMS_SERVICE + "/order";

    /**
     * 订单管理-查询单票订单
     */
    public static final String WOMS_SERVICE_GET_DELIVERYORDER = "/getDeliveryOrder";

    /**
     * 订单管理-建立单票订单
     */
    public static final String WOMS_SERVICE_CREATE_DELIVERYORDER = "/createDeliveryOrder";

    /**
     * 订单管理-根据仓库代码查询该仓库对应的派送方式
     */
    public static final String WOMS_SERVICE_GET_ORDERCARRIER = "/getOrderCarrier";

    /**
     * 订单管理-根据订单号查询该订单对应的相关费用信息
     */
    public static final String WOMS_SERVICE_GET_ORDERFEE = "/GetOrderFee";

    /**
     * 订单管理-运费试算
     */
    public static final String WOMS_SERVICE_GET_CALCULATEFEE = "/getCalculateFee";

    /**
     * 订单管理-查询订单集合信息
     */
    public static final String WOMS_SERVICE_GET_DELIVERYORDER_LIST = "/getDeliveryOrderList";

    /**
     * 货品管理
     */
    public static final String WOMS_SERVICE_ITEM = WOMS_SERVICE + "/item";

    /**
     * 货品管理 - 建立货品
     */
    public static final String WOMS_SERVICE_CREATE_ITEM = "/createItem";

    /**
     * 货品管理 - 查询可用库存
     */
    public static final String WOMS_SERVICE_GET_INVENTORY = "/getInventory";

    /**
     * 货品管理 - 查询货品类目
     */
    public static final String WOMS_SERVICE_GET_ITEMCATEGORY = "/getItemCategory";

    /**
     * 货品管理 - 查询货品库龄流水
     */
    public static final String WOMS_SERVICE_GET_INVENTORYDETAIL = "/getInventoryDetail";

    /**
     * 货品管理 - 查询货品集合信息
     */
    public static final String WOMS_SERVICE_GET_ITEM_LIST = "/getItemList";

    /**
     * 入库单管理
     */
    public static final String WOMS_SERVICE_RECEIVING = WOMS_SERVICE + "/receiving";

    /**
     * 入库单管理 - 建立入库单
     */
    public static final String WOMS_SERVICE_CREATE_RECEIVINGORDER = "/createReceivingOrder";

    /**
     * 入库单管理 - 查询入库单
     */
    public static final String WOMS_SERVICE_GET_RECEIVINGORDER = "/getReceivingOrder";

    /**
     * 入库单管理 - 查询入库单集合信息
     */
    public static final String WOMS_SERVICE_GET_RECEIVINGORDER_LIST = "/getReceivingOrderList";

    /**
     * 订单管理-取消待发货订单
     */
    public static final String WOMS_SERVICE_CANCEL_DELIVERYORDER = "/cancelDeliveryOrder";

    /**
     * 入库单管理 - 修改入库单
     */
    public static final String WOMS_SERVICE_MODIFY_RECEIVINGORDER = "/modifyReceivingOrder";

    /**
     * 入库单管理 - 查询入库单轨迹
     */
    public static final String WOMS_SERVICE_GET_TRACKLIST = "/getTrackList";

    /**
     * 订单管理-修改异常状态订单
     */
    public static final String WOMS_SERVICE_MODIFY_DELIVERYORDER = "/modifyDeliveryOrder";

    /**
     * 订单管理-查询用户信息
     */
    public static final String WOMS_SERVICE_GET_ACCOUNT = "/getAccount";

    /*------------------------------------ 订单宝API常量   end--------------------------------------------*/

    /**
     * ODA地址
     */
    public static final String SERVICE_ODA = SERVICE + "/oda";

    /**
     * ODA地址 - 验证是否ODA地址
     */
    public static final String SERVICE_ODA_VERIFY = "/verifyRemoteArea";
}
